/**
 * 
 */
package com.maywide.jdp.system.utils;

//import net.sf.json.JSONObject;
//import nl.justobjects.pushlet.core.Dispatcher;
//import nl.justobjects.pushlet.core.Event;

/**
 * <b></b><br>
 *
 * @author luoyang
 * @version 1.0
 * @since JDK1.6
 */
public class MessageUtil {
	public static void sendMessage(String subject,Object source) {
		//TODO 使用WebSocket而不是再使用Pushlet
//		Event event = Event.createDataEvent(subject);
//		String strSource = JSONObject.fromObject(source).toString();
//		event.setField("source", strSource);
//		Dispatcher.getInstance().multicast(event);
	}
}
